package defs

//requests
type UserCredential struct{
	Username string `json:"user_name"`
	Pwd string `json:"pwd"`

}

type VideoInfo struct {
	Id string
	AuthorId int
	Name string
	DisplayCtime string
}

type Comment struct {
	Id string
	VideoId string
	AuthorId string
	Content string
}

type SimpleSession struct {
	Username string//login_name
	TTL int64
}